package aplicacion;

import java.awt.Dimension;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.WindowConstants;

public class VentanaBienvenida extends JFrame{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3649208406085000339L;

	public VentanaBienvenida(){
		setLayout(new FlowLayout());
		setResizable(false);
		this.setTitle("AlgoCity");
		this.setPreferredSize(new Dimension(400,400));

		setLocationRelativeTo(null);
		setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
	}
	
	public void mostrarOpciones() {
		this.add(new PanelOpciones());
		this.pack();
		this.setVisible(true);
		
	}

}
